import Vue from 'vue';
import App from './App';
import router from './router';
import httpAxios from './api/http';
import ElementUI from 'element-ui';
Vue.use(ElementUI);
import VueResource from 'vue-resource';
Vue.use(VueResource);
//import 'element-ui/lib/theme-default/index.css';    // 默认主题
import '../static/css/element-#000000/index.css';       // 浅绿色主题
import "babel-polyfill";

Vue.http.options.credentials=true;
import common from './api/Common';
Vue.use(common);
import urllist from './api/Urllist';
Vue.use(urllist);
import MintUI from 'mint-ui';
import 'mint-ui/lib/style.css';

Vue.use(MintUI);

// 全局注册组件
import Components from './components' // 引入全局组件
Vue.use(Components)


new Vue({
    router,
    render: h => h(App)
}).$mount('#app');